package main

import (
	"fmt"
	"math/rand"
	"time"
)

//随机数字
func main() {
	//设置种子
	rand.Seed(time.Now().UnixNano())
	for i := 0; i < 5; i++ {
		//rand.Int()
		fmt.Printf("i=%v\n", rand.Intn(100))
	}
}
